package com.example.synatx.lesson2;

/**
 * @Author guoxh
 * @Date 2020/2/24 10:47
 * @Desc
 **/
public class AppleHeavyWeightPredicate implements ApplePredicate {
    @Override
    public boolean test(Apple apple) {
        return apple.getWeight()>150;
    }
}
